
# ***********条件语句***********
# 单条件判断
# a = 1
# if a == 1:
#     print("A")
# else:
#     print("B")

# # # 多条件判断
# b = input("请输入一个数字：\n")
# a = int(b)
# # a = 2
# if a == 1:
#     print("A")
# elif a == 2:
#     print("B")
# elif a == 3:
#     print("C")
# else:
#     print("D")

# ******for循环***************
# for i in range(10,100,10): #步长为-2
# 	print("i=",i)

# print("*"*10) #打印内容分割
# #----------------------------
# c = ['OneNet', 'siit', 'SZ']
# for i in c:
# 	print('当前词：', i)

# *******while循环***********
# while 1:
#     b = input("请输入一个数字：\n")
#     a = int(b)
#     # a = 2
#     if a == 1:
#         print("A")
#     elif a == 2:
#         print("B")
#     elif a == 3:
#         print("C")
#         break
#     else:
#         print("D")

# i = 1
# while i < 100000:
#     i = i+1
#     print(i)
#     if i == 1030:
#         break


# print("*"*10) #打印内容分割
# print(i)
# for letter in 'OneNET':
#     # print('当前字母：',letter)
# 	if letter == 'N':
# 		break

# 	print('当前字母：',letter)

# a=1
# b=2
# c=a+b
# print(c)


def sum(a,b):
	"""
	该函数将两个数字作为输入，将它们相加，然后返回结果
	
	:param a: 第一个数字
	:param b: 第二个参数
	:return: a和b之和。
	"""
	total = a + b
	# print("和：", total)
	return total

def b(a,b):
	"""
	此函数将两个数字作为输入并返回它们之间的差
	
	:param a: 第一个数字
	:param b: 函数名称
	:return: 两个数字之间的差异。
	"""
	total = a - b
	print("差：", total)
	return total

# sum(1,2)
# sum(10007,298766)
# sum(182347.3284,2121323132.987654)
# print(sum(2,3))


# 模块导入,调用

# from test1 import sum
# a = sum(1234234324, 2236565756)
# print(a)

# import test1
# a = test1.sum(1234234324, 2236565756)
# print(a)



